<!-- 忽略 -->
<template>
  <div>
    <ZgEdit
      ref="dialog"
      :columns="columns"
      :formulas="formulas"
      :inputClick="inputClick"
      validUrl=""
      saveUrl=""
      :view="view"
      @ok="$emit('ok')">
    </ZgEdit>
  </div>
</template>
<script>
export default {
  data () {
    return {
      view: {
        width: '60%',
        top: '3%',
        title: '查看'
      },
      columns: [
        { name: '企业名称', code: 'remarks', compType: '文本', isNeed: false, offset: 0, span: 24, defaultVal: '231312' },
        { name: '企业类型', code: 'remarks', compType: '文本', isNeed: false, offset: 0, span: 24, defaultVal: '231312' },
        { name: '服务到期时间', code: 'remarks', compType: '文本', isNeed: false, offset: 0, span: 24, defaultVal: '231312' },
        { name: '预警内容', code: 'remarks', compType: '文本', isNeed: false, offset: 0, span: 24, defaultVal: '231312' },
        { name: '预警时间', code: 'remarks', compType: '文本', isNeed: false, offset: 0, span: 24, defaultVal: '231312' },
        { name: '处理时间', code: 'remarks', compType: '文本', isNeed: false, offset: 0, span: 24, defaultVal: '231312' },
        { name: '处理结果', code: 'remarks', compType: '文本', isNeed: false, offset: 0, span: 24, defaultVal: '忽略/服务延期/服务注销' },
        { name: '处理说明', code: 'remarks', compType: '文本', isNeed: false, offset: 0, span: 24, defaultVal: '忽略操作说明/服务期限更新至XXXX' }
      ],
      formulas: []
    }
  },
  methods: {
    open () {
      this.$refs.dialog.open()
    },
    inputClick (t) {
      alert(JSON.stringify(t))
    }
  }
}
</script>

<style lang="scss" scoped>
</style>
